package com.meilai.project.service.system;

import com.meilai.project.dto.app.MobileLoginDTO;
import com.meilai.project.dto.app.SignInParamForApp;
import com.meilai.project.dto.system.SignInParam;

import javax.servlet.http.HttpServletRequest;

/**
 * @author 张驰
 * @date 2020/12/4 15:27
 */
public interface LoginService {
    SignInParam miniLogin(HttpServletRequest request, String username, String password);

    SignInParam webLogin(HttpServletRequest request, String username, String password);

    SignInParam webLoginByMobile(HttpServletRequest request, String mobile, String code);

    SignInParamForApp appLogin(HttpServletRequest request, MobileLoginDTO dto);
}
